import Bussiness.Student;

import java.util.Arrays;
import Bussiness.Student;

public class AryDemo {
    public static void main(String[] args) {
    sortAry();
    getStudy();
    }

    /* 数组排序 */
    private  static  void sortAry(){
    int[] ary = {10,123,4245,153251,5,1,53,123,1,41,341};
        System.out.print(Arrays.toString(ary));
    }
    
    /* 打印学生的吃饭 */
    public static void getStudy(){
        Student stu = new Student();
        stu.eat();
        stu.sleep();
        stu.name = "java";
        System.out.println(stu.name);

        System.out.println("===========");

        Student stu2 = new Student();
        stu2.eat();
        stu2.sleep();
        stu2.name = "java2";
        System.out.println(stu2.name);

        Student stu3 = stu;
    }
}
